//
//  TBBLEBaseAction.m
//  TBSDK
//
//  Created by nexgo on 2017/10/27.
//  Copyright © 2017年 truth. All rights reserved.
//

#import "TBBLEBaseAction.h"

@interface TBBLEBaseAction(){
}
@end

@implementation TBBLEBaseAction

- (instancetype _Nonnull )init:(TBBaseActionType)actionTypeTmp option:(TBBLEBaseOption*_Nullable)optionTmp{
    self = [super init];
    if (self) {
        _actionType = actionTypeTmp;
        _option = optionTmp;
        _status = TBBLEACTION_WAITTING;
    }
    return self;
}

@end

/********************************************************************************
                                     任务参数
 ********************************************************************************/
@implementation TBBLEBaseOption

- (instancetype)init
{
    self = [super init];
    if (self) {
        _timeout = 20;
        _perLen = 20;
        _waitTime = 20;
    }
    return self;
}

@end

@implementation TBBLEBaseActionCB

@end
